package com.cyl.manager.oms.domain.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.List;

import com.ruoyi.common.annotation.Excel;

@Data
@ApiModel("后台订单详情对象")
public class ManagerOrderDetailVO {
    @ApiModelProperty("订单id")
    private Long orderId;
    @ApiModelProperty("订单编号")
    private String orderSn;
    @ApiModelProperty("用户昵称")
    private String userName;
    @ApiModelProperty("用户手机号")
    private String userPhone;
    @ApiModelProperty("下单时间")
    private LocalDateTime createTime;
    @ApiModelProperty("支付方式：0->未支付；1->支付宝；2->微信")
    private Integer payType;
    @ApiModelProperty("支付时间")
    private LocalDateTime payTime;
    @ApiModelProperty("订单状态：0->待付款；1->待发货；2->已发货；3->已完成；4->已关闭；5->无效订单")
    private Integer orderStatus;
    @ApiModelProperty("订单收获地址信息")
    private ManagerOrderAddressVo addressInfo;
    @ApiModelProperty("订单商品信息")
    private List<ManagerOrderProductVO> productInfo;
    @ApiModelProperty("发货时间")
    private LocalDateTime deliveryTime;
    @ApiModelProperty("收货时间")
    private LocalDateTime receiveTime;
    @ApiModelProperty("物流单号")
    private String expressNo;
    @ApiModelProperty("物流名称")
    private String expressName;
    @ApiModelProperty("支付金额")
    private BigDecimal payAmount;
    @ApiModelProperty("订单金额")
    private BigDecimal totalAmount;
    private BigDecimal couponAmount;
    /** 采购价 */
    @ApiModelProperty("采购价")
    private BigDecimal cgprice;
    
    
    @ApiModelProperty("店铺结算金额")
    private BigDecimal dpjsprice;
    
    @ApiModelProperty("产品类型  1 正常商品 2 福利券商品 3 积分商品")
    @Excel(name = "产品类型")
    private String cplx;
    
    @ApiModelProperty("兑换的福利券分类id")
    @Excel(name = "兑换的福利券分类id")
    private Long dhCouponCategoryId;
    
    @ApiModelProperty("兑换福利券的数量")
    @Excel(name = "兑换福利券的数量")
    private Long dhCouponCategoryNum;
    
    @ApiModelProperty("兑换福利券的数量")
    @Excel(name = "兑换福利券的数量")
    private String dhCouponCategoryMc;
    
    
    @ApiModelProperty("兑换积分数量")
    @Excel(name = "兑换积分数量")
    private BigDecimal dhJssl;
    
    @ApiModelProperty("供应商id")
    @Excel(name = "供应商id")
    private Long brandId;
    

    @ApiModelProperty("可退款时间")//在此时间之前可以退款，但受到锁定的限制
    private LocalDateTime ktkTime;
    
    @ApiModelProperty("冗余字段")
    private String paramJson;
}
